﻿<UserControl
	x:Class="Coding4Fun.Maelstrom.Tablet.NumberDisplay"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	d:DesignHeight="325"
	d:DesignWidth="436">
	<UserControl.Resources>
		<Storyboard x:Name="Transition" Completed="Transition_Completed">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="imgNumber">
				<LinearDoubleKeyFrame KeyTime="0:0:0.8" Value="0.0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="imgNext">
				<LinearDoubleKeyFrame KeyTime="0:0:0.0" Value="0.0"/>
				<LinearDoubleKeyFrame KeyTime="0:0:0.5" Value="1.0"/>
				<LinearDoubleKeyFrame KeyTime="0:0:0.8" Value="0.6"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<Canvas Width="172" Height="439">
		<Image x:Name="imgNumber" Width="172" Height="439" Canvas.Left="0" Canvas.Top="0" Source="Images/1.png" Opacity="0.6"/>
		<Image x:Name="imgNext" Width="172" Height="439" Canvas.Left="0" Canvas.Top="0" Opacity="0.0"/>
	</Canvas>
</UserControl>
